import request from '@/utils/request'

//获取动态列表
export const getStateList = (data) => {
    return request({
        method: 'GET',
        url: '/admin/getStateList',
        params: data
    })
}

//动态审批
export const approveState = (data) => {
    return request({
        method: 'post',
        url: '/admin/approveState',
        data
    })
}